package com.boarsoft.gateway.server.domain.transfer;

import java.io.Serializable;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

@JacksonXmlRootElement(localName = "Service")
public class TransferRequest implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@JacksonXmlProperty(localName = "Service_Header")
	private TransferRequestServiceHeader serviceHeader;
	
	@JacksonXmlProperty(localName = "Service_Body")
	private TransferRequestServiceBody serviceBody;

	public TransferRequestServiceHeader getServiceHeader() {
		return serviceHeader;
	}

	public void setServiceHeader(TransferRequestServiceHeader serviceHeader) {
		this.serviceHeader = serviceHeader;
	}

	public TransferRequestServiceBody getServiceBody() {
		return serviceBody;
	}

	public void setServiceBody(TransferRequestServiceBody serviceBody) {
		this.serviceBody = serviceBody;
	}

	@Override
	public String toString() {
		return "serviceHeader : " + serviceHeader.toString() + "; serviceBody : " + serviceBody.toString();
	}

}
